package org.tony.utils;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Id生成器
 * @author tony
 */
public class IdGenerator {
	
	private static final DateFormat df = new SimpleDateFormat("yyyyMMDDHHmmssS");
	
	public static String generateId() {
		return df.format(new Date());
	}

}
